package com.xzy.Service;


import com.xzy.pojo.Stars;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.Optional;

public interface StarsService {
    <S extends Stars> S save(S s);
    Page<Stars> findAll(int page);
    long count();
    Optional<Stars> findById(Integer integer);
    int getMaxId();
    void deleteById(Integer integer);
}
